﻿@model Pageparkproject.Models.tblSetting
<script src="~/Contents/Admin/ckeditor/ckeditor.js"></script>
<script src="~/Contents/Scripts/jquery-1.8.2.min.js"></script>
<form action="/Admin/SaveSetting" enctype="multipart/form-data" method="post" id="formSetting" >
    <fieldset>
        <dl>
            <dt>
                <label for="category">Ảnh trang chủ 1:</label>
            </dt>
            <dd>
                <input type="file" name="fileIndex1" />
            </dd>
            <dd><img style="height:100px;width:auto" src="/Contents/Images/index1.jpg" /></dd>
        </dl>
        <dl>
            <dt>
                <label for="category">Ảnh trang chủ 2:</label>
            </dt>
            <dd>
                <input type="file" name="fileIndex2" />
            </dd>
            <dd><img style="height:100px;width:auto" src="/Contents/Images/index2.jpg" /></dd>
        </dl>
        <dl>
            <dt>
                <label for="category">Ảnh trang chủ 3:</label>
            </dt>
            <dd>
                <input type="file" name="fileIndex3" />
            </dd>
            <dd><img style="height:100px;width:auto" src="/Contents/Images/index3.jpg" /></dd>
        </dl>
        <dl>
            <dt>
                <label for="category">Ảnh trang chủ 4:</label>
            </dt>
            <dd>
                <input type="file" name="fileIndex4" />
            </dd>
            <dd><img style="height:100px;width:auto" src="/Contents/Images/index4.jpg" /></dd>
        </dl>
        <dl>
            <dt>
                <label for="category">Ảnh trang chủ 5:</label>
            </dt>
            <dd>
                <input type="file" name="fileIndex5" />
            </dd>
            <dd><img style="height:100px;width:auto" src="/Contents/Images/index5.jpg" /></dd>
        </dl>
        <dl>
            <dt>
                <label for="category">Ảnh trang giới thiệu:</label>
            </dt>
            <dd>
                <input type="file" name="fileAbout"/>
            </dd>
            <dd><img style="height:100px;width:auto" src="/Contents/Images/about.jpg" /></dd>
        </dl>
        <dl>
            <dt>
                <label for="projectName">Nội dung giới thiệu:</label></dt>
            <dd>
                <textarea name="sGioithieu" class="ckeditor">@Model.sGioithieu</textarea>
                </dd>
        </dl>
        <dl>
            <dt>
                <label for="dNgay">Nội dung Liên hệ:</label></dt>
            <dd>
                <textarea name="sContact">@Model.sContact</textarea></dd>
        </dl>
        <dl>
            <dt>
                <label for="color">Toạ độ bản đồ</label></dt>
            <dd>
                <input type="text" placeholder="@Model.fLatitude" name="fLatitude"/>
            </dd>
            <dd>
                <input type="text" placeholder="@Model.fLongtitude" name="fLongtitude"/>
            </dd>
        </dl>
        <dl>
            <dt>
                <label for="projectName">Nội dung Footer:</label></dt>
            <dd>
                <textarea name="sContentFooter" class="ckeditor">@Model.sContentFooter</textarea>
                </dd>
        </dl>
        <dl>
            <dt>
                <label for="upload">Màu nền thanh Header:</label></dt>
            <dd>
                <input type="text" value="@Model.sColorBar" name="sColorBar"/>
            </dd>
        </dl>
        <dl class="submit">
            <dd><input type="submit" name="submit" id="submit" value="Submit" /></dd>
        </dl>
    </fieldset>
</form>
